package cn.com.huzo.repository.trade;

import cn.com.huzo.model.entities.trade.InspectionJournalLinesCertificationHeaderEntity;
import huzofw.repository.GenericRepository;
import java.util.List;

/**
 * 化检日记账明细-合格证数据访问对象接口。
 *
 * @author 范学春
 */
public interface InspectionJournalLinesCertificationHeaderRepository extends GenericRepository<InspectionJournalLinesCertificationHeaderEntity, String> {

    /**
     * 得到本次送检批次的全部合格证
     *
     * @param headerKey 送检批次标识
     * @return
     */
    List<InspectionJournalLinesCertificationHeaderEntity> fetchByHeaderKey(Long headerKey);

    /**
     * 本次合格证的详细信息
     *
     * @param linesId 合格证明细标识
     * @return
     */
    InspectionJournalLinesCertificationHeaderEntity fetchByLinesKey(String linesId);
}
